/*    */ package com.behavior.memento;
/*    */ 
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ 
/*    */ public class CareTaker
/*    */ {
/* 12 */   private List<Memento> mementos = new ArrayList();
/*    */ 
/*    */   public void addMemento(Memento memento) {
/* 15 */     this.mementos.add(memento);
/*    */   }
/*    */ 
/*    */   public Memento getMemento(int index) {
/* 19 */     return (Memento)this.mementos.get(index);
/*    */   }
/*    */ }

/* Location:           C:\Users\lenovo\Desktop\DesignMode.jar
 * Qualified Name:     com.behavior.memento.CareTaker
 * JD-Core Version:    0.6.2
 */